<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" data-rule="required" class="form-control" name="row[uid]" type="number" value="{$row.uid|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Applyinfo')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-applyInfo" class="form-control" name="row[applyInfo]" type="text" value="{$row.applyInfo|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Info')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-info" class="form-control" name="row[info]" type="text" value="{$row.info|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mobile" class="form-control" name="row[mobile]" type="text" value="{$row.mobile|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">快递:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-expressName" class="form-control" name="row[expressName]" type="text" value="{$row.expressName|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">单号:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-expressNo" class="form-control" name="row[expressNo]" type="text" value="{$row.expressNo|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            {if $row.status == 1 && $row.applyModel == 1 && $row.orderStatus == 2}
            {:build_radios('row[status]', ['3'=> '同意', '6'=> '拒绝'], 3)}
            {elseif $row.status == 2}
            已同意
            {elseif $row.status == 3}
            待客户补全物流信息
            {elseif $row.status == 4 || $row.status == 1}
            {:build_radios('row[status]', ['2'=> '同意', '6'=> '拒绝'], 2)}
            {elseif $row.status == 6}
            已拒绝
            {elseif $row.status == 9 || $row.status == 10}
            {if $row.status == 9}已取消{else}已删除{/if}
            {/if}
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
